@layout("/common/head.html"){
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-body ">
                    <form class="layui-form layui-col-space5">
                        <div class="layui-inline layui-show-xs-block">
                            <#select selectName="员工姓名" id="employeeId" name="employeeId" list="${users}" optionName="userNick" optionValue="id" />
                        </div>
                        <div class="layui-inline layui-show-xs-block">
                            <input class="layui-input" autocomplete="off" placeholder="出勤日期" name="workDate"
                                   id="workDate">
                        </div>
                        <div class="layui-inline layui-show-xs-block">
                            <button class="layui-btn" lay-submit="" lay-filter="search"><i
                                    class="layui-icon">&#xe615;</i></button>
                        </div>
                    </form>
                </div>
                <div class="layui-card-header" id="toolBar">
                    @if(shiro.hasAuth("salary:work:record:upTime")){
                    <button class="layui-btn layui-btn" id="upTime">
                        <i class="layui-icon">&#xe6c9;</i>上班打卡
                    </button>
                    @}
                    @if(shiro.hasAuth("salary:work:record:downTime")){
                    <button class="layui-btn layui-btn" id="downTime">
                        <i class="layui-icon">&#xe67a;</i>下班打卡
                    </button>
                    @}
                    @if(shiro.hasAuth("salary:work:record:leave")){
                    <button class="layui-btn layui-btn" id="leave">
                        <i class="layui-icon">&#xe67a;</i>请假
                    </button>
                    @}
                </div>
                <table class="layui-hide" id="tb" lay-filter="tb"></table>

            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modules/salary/work/record/record_index.js"></script>
@}